function ga4ModalUempSend(e){const t={event:"modal-uemp-tracker",var_cpf_uemp:e};window.dataLayer=window.dataLayer||[],window.dataLayer.push(t)}function ga4ModalUempSend(e){window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"click_video_poscompra",var_id_curriculo:e})}document.addEventListener("DOMContentLoaded",(e=>{document.querySelectorAll("[mobile-menu-toggle]").forEach((e=>{e.addEventListener("click",(t=>{switch(e.getAttribute("mobile-menu-toggle")){case"open":document.querySelectorAll("[mobile-menu-status]").forEach((e=>{e.setAttribute("mobile-menu-status","opned")}));break;case"close":document.querySelectorAll("[mobile-menu-status]").forEach((e=>{e.setAttribute("mobile-menu-status","closed")}))}}))})),document.querySelectorAll(".quemMeViu__card-icon .material-icons").forEach((e=>{e.addEventListener("click",(e=>{document.querySelectorAll(".card.quemMeViu__card").forEach((e=>{switch(e.getAttribute("quem-me-viu-toggle")){case"opned":e.setAttribute("quem-me-viu-toggle","closed"),document.querySelector(".quemMeViu__card-icon .material-icons").setAttribute("btn-quem-me-viu-toggle","closed");break;case"closed":e.setAttribute("quem-me-viu-toggle","opned"),document.querySelector(".quemMeViu__card-icon .material-icons").setAttribute("btn-quem-me-viu-toggle","opned")}}))}))}))})),document.addEventListener("DOMContentLoaded",(function(){const e=document.querySelector("[data-cpf]");e&&e.addEventListener("click",(function(){const t=e.getAttribute("data-cpf");ga4ModalUempSend(t)}))})),document.addEventListener("DOMContentLoaded",(function(){document.addEventListener("click",(function(e){const t=e.target.closest("[data-idCurriculo]");if(t){const e=t.getAttribute("data-idCurriculo");ga4ModalUempSend(e)}}))})),$(document).ready((function(){$('[data-toggle="modal"]').click((function(e){e.preventDefault();var t=$(this).data("target");$(t).modal("show")})),$('[data-dismiss="modal"]').click((function(){$(this).closest(".modal").modal("hide")}))}));